﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zhp.Entity.SysEnum;

namespace Zhp.Model.Chat
{
    public class ChatMessageModel
    {
        public long Id { get; set; }

        public long BelongId { get; set; }

        public long SenderId { get; set; }

        public string SenderName { get; set; }

        public long TouserId { get; set; }

        public string TouserName { get; set; }

        public long PairID { get; set; }

        public string Content { get; set; }

        public bool OneSelf { get; set; }

        public long? TimeStamp { get; set; }

        public DateTime? SendTime { get; set; }

        public DateTime? ReceiveTime { get; set; }

        public DateTime? ReadTime { get; set; }

        public MessageTypeEnum MessageType { get; set; }

        public bool IsNewMessage { get; set; }
    }

    public class QueryChatMessage
    {
        public long BelongId { get; set; }

        public long? TimeStamp { get; set; }
    }

    public class SendChatCheckParam
    {
        public long TouserId { get; set; }
    }

    public class SendChatInfoRet
    {
        public List<long> MsgIdList { get; set; }
        public long TimeStamp { get; set; }
        public DateTime SendTime { get; set; }
    }
}
